import java.util.Scanner;
public class DISAN{
  public static void main(String args[]){
    Scanner reader = new Scanner(System.in);
	  int n = reader.nextInt();
	  int[] a = new int[n];
	  int x=0;
	  for(int i=0;i<n;i++){
	    a[i]=reader.nextInt();
	  }
	  for(int i=0;i<n;i++){
	    for(int j=1;j<n;j++){
	      if(a[j]>a[j-1]){
	        x=a[j];
	        a[j]=a[j-1];//交换
	        a[j-1]=x;
	      }
	    }
	  }
	  for(int i=0;i<n;i++){
	    System.out.print(a[i]);
	    if(i!=n-1){
	      System.out.print(" ");
	    }
	  }
  }
}
